package com.jy.adscm.wechat;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author zyl
 * @Date 2019/9/23 -8:48
 */
@SpringBootApplication
@EnableAspectJAutoProxy
@EnableCaching //开启基于注解的缓存
@ComponentScan(basePackages = {"com.jy.adscm.**"})
@ServletComponentScan(basePackages = {"com.jy.adscm.**"})
public class JyAdscmWechatApplication {
    public static void main(String[] args) {
        SpringApplication.run(JyAdscmWechatApplication.class);
    }
}
